<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'iphone-iphone-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'notification_content'); ?>
		<?php echo $form->textField($model,'notification_content'); ?>
		<?php echo $form->error($model,'notification_content'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'button_label'); ?>
		<?php echo $form->textField($model,'button_label'); ?>
		<?php echo $form->error($model,'button_label'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'badge'); ?>
		<?php echo $form->textField($model,'badge'); ?>
		<?php echo $form->error($model,'badge'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'sound'); ?>
		<?php echo $form->textField($model,'sound'); ?>
		<?php echo $form->error($model,'sound'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'action_type'); ?>
		<?php echo $form->textField($model,'action_type'); ?>
		<?php echo $form->error($model,'action_type'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'notification_URL'); ?>
		<?php echo $form->textField($model,'notification_URL'); ?>
		<?php echo $form->error($model,'notification_URL'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'input_text_custom_data'); ?>
		<?php echo $form->textField($model,'input_text_custom_data'); ?>
		<?php echo $form->error($model,'input_text_custom_data'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'rich_notification_subject'); ?>
		<?php echo $form->textField($model,'rich_notification_subject'); ?>
		<?php echo $form->error($model,'rich_notification_subject'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'rich_notification_content'); ?>
		<?php echo $form->textField($model,'rich_notification_content'); ?>
		<?php echo $form->error($model,'rich_notification_content'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'primary_action'); ?>
		<?php echo $form->textField($model,'primary_action'); ?>
		<?php echo $form->error($model,'primary_action'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'primary_action_data'); ?>
		<?php echo $form->textField($model,'primary_action_data'); ?>
		<?php echo $form->error($model,'primary_action_data'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'primary_action_button_label'); ?>
		<?php echo $form->textField($model,'primary_action_button_label'); ?>
		<?php echo $form->error($model,'primary_action_button_label'); ?>
	</div>


	<div class="row buttons">
		<?php echo CHtml::submitButton('Submit'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->